Skip to main content

Play By ID

Gets a Play struct for the given id if it exists.

Parameters:

  • id: The id of the play.

Returns: AllDay.PlayData - The AllDay Play data.

import AllDay from 0xALLDAYADDRESS

pub fun main(id: UInt64): AllDay.PlayData? {
return AllDay.getPlayData(id: id)
}